using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{
    /// <summary>
    /// 实体预设配置数据
    /// 地编导出数据
    /// </summary>
    public class LevelEntityPresetConfig
    {
        public int id;
        /// <summary>
        /// 实体资源表(LevelEntity.csv)id
        /// </summary>
        public int entityCid;
        /// <summary>
        /// 阻挡信息
        /// </summary>
        public ObstacleInfo obstacle;
        /// <summary>
        /// 服务列表
        /// </summary>
        public IReadOnlyList<int> services;
        /// <summary>
        /// 默认服务执行次数，限制服务执行次数，修改限制次数时有效
        /// </summary>
        public IReadOnlyList<int> executionCounts;
        /// <summary>
        /// 行为树资源名（相对路径）
        /// </summary>
        public string behaviourName;
        /// <summary>
        /// 状态机资源名（相对路径）
        /// </summary>
        public string stateMachineName;
        /// <summary>
        /// NPC视野可视距离
        /// </summary>
        public int viewRange;
        /// <summary>
        /// NPC视野可视角度
        /// </summary>
        public int viewAngle;
    }
}
